import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { AngularEchartsModule } from 'ngx-echarts';


import { chartsRoutes } from "./charts.routes";

import { BarChartComponent } from './bar-chart/bar-chart.component';
import { LineChartComponent } from './line-chart/line-chart.component';
import { PieChartComponent } from './pie-chart/pie-chart.component';
import { ChartsComponent } from './charts.component';
import { GaugeComponent } from './gauge/gauge.component';

@NgModule({
  imports: [
    CommonModule,
    AngularEchartsModule,
    RouterModule.forRoot(chartsRoutes)
  ],
  declarations: [BarChartComponent, LineChartComponent, PieChartComponent, ChartsComponent, GaugeComponent]
})
export class ChartsModule { }
